﻿///////////////////////////////////////////////////////////////
// This is generated code. 
//////////////////////////////////////////////////////////////
// Code is generated using LLBLGen Pro version: 3.5
// Code is generated on: Monday, December 17, 2012 11:21:48 AM
// Code is generated using templates: SD.TemplateBindings.SharedTemplates.NET20
// Templates vendor: Solutions Design.
// Templates version: 
//////////////////////////////////////////////////////////////
using System;
using System.ComponentModel;
using System.Data;
using System.Collections;
using System.Runtime.Serialization;
using WHMS.EntityClasses;
using WHMS.HelperClasses;
using WHMS.FactoryClasses;
using SD.LLBLGen.Pro.ORMSupportClasses;


namespace WHMS.TypedListClasses
{
	// __LLBLGENPRO_USER_CODE_REGION_START AdditionalNamespaces
	// __LLBLGENPRO_USER_CODE_REGION_END

	/// <summary>Typed datatable for the list 'DepositItems'.<br/><br/></summary>
	[Serializable, System.ComponentModel.DesignerCategory("Code")]
	[ToolboxItem(true)]
	[DesignTimeVisible(true)]
	public partial class DepositItemsTypedList : TypedListBase2<DepositItemsRow>, ITypedListLgp2
		// __LLBLGENPRO_USER_CODE_REGION_START AdditionalInterfacesList
		// __LLBLGENPRO_USER_CODE_REGION_END	
	{
		#region Class Member Declarations
		private DataColumn _columnTransactionItemId;
		private DataColumn _columnItemId;
		private DataColumn _columnQuantity;
		private DataColumn _columnShelfId;
		private DataColumn _columnStoreId;
		private DataColumn _columnTransactionId;
		private DataColumn _columnStoreCode;
		private DataColumn _columnStoreName;
		private DataColumn _columnShelfCode;
		private DataColumn _columnItemName;
		private DataColumn _columnItemCode;
		private DataColumn _columnItemUnit;
		private ResultsetFields _fields;
		private IRelationPredicateBucket _filterBucket;
		// __LLBLGENPRO_USER_CODE_REGION_START AdditionalMembers
		// __LLBLGENPRO_USER_CODE_REGION_END
		private static Hashtable	_customProperties;
		private static Hashtable	_fieldsCustomProperties;
		#endregion

		#region Class Constants
		/// <summary>The amount of fields in the resultset.</summary>
		private const int AmountOfFields = 12;
		#endregion

		/// <summary>Static CTor for setting up custom property hashtables.</summary>
		static DepositItemsTypedList()
		{
			SetupCustomPropertyHashtables();
		}
		
		/// <summary>CTor</summary>
		public DepositItemsTypedList():base("DepositItems")
		{
			InitClass(false);
		}
				
		/// <summary>CTor</summary>
		/// <param name="obeyWeakRelations">The flag to signal the collection what kind of join statements to generate in the query statement. </param>
		public DepositItemsTypedList(bool obeyWeakRelations):base("DepositItems")
		{
			InitClass(obeyWeakRelations);
		}
#if !CF	
		/// <summary>Protected constructor for deserialization.</summary>
		/// <param name="info"></param>
		/// <param name="context"></param>
		protected DepositItemsTypedList(SerializationInfo info, StreamingContext context):base(info, context)
		{
			if(SerializationHelper.Optimization == SerializationOptimization.None)
			{
				InitMembers();
				BuildResultset();
			}
		}
#endif		
		/// <summary>Gets the IEntityFields2 collection of fields of this typed list. </summary>
		/// <returns>Ready to use IEntityFields2 collection object.</returns>
		public virtual IEntityFields2 GetFieldsInfo()
		{
			return _fields;
		}

		/// <summary>Gets the IRelationPredicateBucket object which contains the relation information for this Typed List. </summary>
		/// <returns>Ready to use IRelationPredicateBucket object.</returns>
		public virtual IRelationPredicateBucket GetRelationInfo()
		{
			_filterBucket = new RelationPredicateBucket();
			BuildRelationSet();
			return _filterBucket;
		}

		/// <summary>Creates a new typed row during the build of the datatable during a Fill session by a dataadapter.</summary>
		/// <param name="rowBuilder">supplied row builder to pass to the typed row</param>
		/// <returns>the new typed datarow</returns>
		protected override DataRow NewRowFromBuilder(DataRowBuilder rowBuilder) 
		{
			return new DepositItemsRow(rowBuilder);
		}

		/// <summary>Initializes the hashtables for the typed list type and typed list field custom properties. </summary>
		private static void SetupCustomPropertyHashtables()
		{
			_customProperties = new Hashtable();
			_fieldsCustomProperties = new Hashtable();
			Hashtable fieldHashtable;
			fieldHashtable = new Hashtable();
			_fieldsCustomProperties.Add("TransactionItemId", fieldHashtable);
			fieldHashtable = new Hashtable();
			_fieldsCustomProperties.Add("ItemId", fieldHashtable);
			fieldHashtable = new Hashtable();
			_fieldsCustomProperties.Add("Quantity", fieldHashtable);
			fieldHashtable = new Hashtable();
			_fieldsCustomProperties.Add("ShelfId", fieldHashtable);
			fieldHashtable = new Hashtable();
			_fieldsCustomProperties.Add("StoreId", fieldHashtable);
			fieldHashtable = new Hashtable();
			_fieldsCustomProperties.Add("TransactionId", fieldHashtable);
			fieldHashtable = new Hashtable();
			_fieldsCustomProperties.Add("StoreCode", fieldHashtable);
			fieldHashtable = new Hashtable();
			_fieldsCustomProperties.Add("StoreName", fieldHashtable);
			fieldHashtable = new Hashtable();
			_fieldsCustomProperties.Add("ShelfCode", fieldHashtable);
			fieldHashtable = new Hashtable();
			_fieldsCustomProperties.Add("ItemName", fieldHashtable);
			fieldHashtable = new Hashtable();
			_fieldsCustomProperties.Add("ItemCode", fieldHashtable);
			fieldHashtable = new Hashtable();
			_fieldsCustomProperties.Add("ItemUnit", fieldHashtable);
		}


		/// <summary>Builds the relation set for this typed list, inside the filterBucket object.</summary>
		private void BuildRelationSet()
		{
			_filterBucket.Relations.ObeyWeakRelations = base.ObeyWeakRelations;
			_filterBucket.Relations.Add(TransactionItemEntity.Relations.ItemEntityUsingItemId, "", "", JoinHint.Inner);
			_filterBucket.Relations.Add(UnitEntity.Relations.ItemEntityUsingUnitId, "", "", JoinHint.Inner);
			_filterBucket.Relations.Add(ShelfEntity.Relations.TransactionItemEntityUsingShelfId, "", "", JoinHint.Inner);
			_filterBucket.Relations.Add(StoreEntity.Relations.TransactionItemEntityUsingStoreId, "", "", JoinHint.Inner);
			// __LLBLGENPRO_USER_CODE_REGION_START AdditionalRelations
			// __LLBLGENPRO_USER_CODE_REGION_END
			OnRelationSetBuilt(_filterBucket.Relations);
		}

		/// <summary>Builds the resultset fields, stored in the private _fields object</summary>
		private void BuildResultset()
		{
			_fields = new ResultsetFields(AmountOfFields);
			_fields.DefineField(TransactionItemFields.Id, 0, "TransactionItemId", "", AggregateFunction.None);
			_fields.DefineField(TransactionItemFields.ItemId, 1, "ItemId", "", AggregateFunction.None);
			_fields.DefineField(TransactionItemFields.Quantity, 2, "Quantity", "", AggregateFunction.None);
			_fields.DefineField(TransactionItemFields.ShelfId, 3, "ShelfId", "", AggregateFunction.None);
			_fields.DefineField(TransactionItemFields.StoreId, 4, "StoreId", "", AggregateFunction.None);
			_fields.DefineField(TransactionItemFields.TransactionId, 5, "TransactionId", "", AggregateFunction.None);
			_fields.DefineField(StoreFields.Code, 6, "StoreCode", "", AggregateFunction.None);
			_fields.DefineField(StoreFields.Name, 7, "StoreName", "", AggregateFunction.None);
			_fields.DefineField(ShelfFields.Code, 8, "ShelfCode", "", AggregateFunction.None);
			_fields.DefineField(ItemFields.Name, 9, "ItemName", "", AggregateFunction.None);
			_fields.DefineField(ItemFields.Code, 10, "ItemCode", "", AggregateFunction.None);
			_fields.DefineField(UnitFields.Name, 11, "ItemUnit", "", AggregateFunction.None);
			// __LLBLGENPRO_USER_CODE_REGION_START AdditionalFields
			// be sure to call _fields.Expand(number of new fields) first. 
			// __LLBLGENPRO_USER_CODE_REGION_END
			OnResultsetBuilt(_fields);
		}

		/// <summary>Initialize the datastructures.</summary>
		/// <param name="obeyWeakRelations">flag for the internal used relations object</param>
		protected override void InitClass(bool obeyWeakRelations)
		{
			TableName = "DepositItems";		
			this.ObeyWeakRelations = obeyWeakRelations;
			_columnTransactionItemId = GeneralUtils.CreateTypedDataTableColumn("TransactionItemId", @"TransactionItemId", typeof(System.Int32), this.Columns);
			_columnItemId = GeneralUtils.CreateTypedDataTableColumn("ItemId", @"ItemId", typeof(System.Int32), this.Columns);
			_columnQuantity = GeneralUtils.CreateTypedDataTableColumn("Quantity", @"Quantity", typeof(System.Decimal), this.Columns);
			_columnShelfId = GeneralUtils.CreateTypedDataTableColumn("ShelfId", @"ShelfId", typeof(System.Int32), this.Columns);
			_columnStoreId = GeneralUtils.CreateTypedDataTableColumn("StoreId", @"StoreId", typeof(System.Int32), this.Columns);
			_columnTransactionId = GeneralUtils.CreateTypedDataTableColumn("TransactionId", @"TransactionId", typeof(System.Int32), this.Columns);
			_columnStoreCode = GeneralUtils.CreateTypedDataTableColumn("StoreCode", @"StoreCode", typeof(System.String), this.Columns);
			_columnStoreName = GeneralUtils.CreateTypedDataTableColumn("StoreName", @"SoreName", typeof(System.String), this.Columns);
			_columnShelfCode = GeneralUtils.CreateTypedDataTableColumn("ShelfCode", @"ShelfCode", typeof(System.String), this.Columns);
			_columnItemName = GeneralUtils.CreateTypedDataTableColumn("ItemName", @"ItemName", typeof(System.String), this.Columns);
			_columnItemCode = GeneralUtils.CreateTypedDataTableColumn("ItemCode", @"ItemCode", typeof(System.String), this.Columns);
			_columnItemUnit = GeneralUtils.CreateTypedDataTableColumn("ItemUnit", @"ItemUnit", typeof(System.String), this.Columns);

			// __LLBLGENPRO_USER_CODE_REGION_START InitClass
			// __LLBLGENPRO_USER_CODE_REGION_END
			BuildResultset();
			_filterBucket = new RelationPredicateBucket();
			BuildRelationSet();
			OnInitialized();
		}

		/// <summary>Initializes the members, after a clone action.</summary>
		private void InitMembers()
		{
			_columnTransactionItemId = this.Columns["TransactionItemId"];
			_columnItemId = this.Columns["ItemId"];
			_columnQuantity = this.Columns["Quantity"];
			_columnShelfId = this.Columns["ShelfId"];
			_columnStoreId = this.Columns["StoreId"];
			_columnTransactionId = this.Columns["TransactionId"];
			_columnStoreCode = this.Columns["StoreCode"];
			_columnStoreName = this.Columns["StoreName"];
			_columnShelfCode = this.Columns["ShelfCode"];
			_columnItemName = this.Columns["ItemName"];
			_columnItemCode = this.Columns["ItemCode"];
			_columnItemUnit = this.Columns["ItemUnit"];
			// __LLBLGENPRO_USER_CODE_REGION_START InitMembers
			// __LLBLGENPRO_USER_CODE_REGION_END
			OnInitialized();
		}

		/// <summary>Clones this instance.</summary>
		/// <returns>A clone of this instance</returns>
		public override DataTable Clone() 
		{
			DepositItemsTypedList cloneToReturn = ((DepositItemsTypedList)(base.Clone()));
			cloneToReturn.InitMembers();
			return cloneToReturn;
		}
#if !CF
		/// <summary>Creates a new instance of the DataTable class.</summary>
		/// <returns>a new instance of a datatable with this schema.</returns>
		protected override DataTable CreateInstance() 
		{
			return new DepositItemsTypedList();
		}
#endif

		#region Class Property Declarations
		/// <summary>The custom properties for this TypedList type.</summary>
		/// <remarks>The data returned from this property should be considered read-only: it is not thread safe to alter this data at runtime.</remarks>
		public static Hashtable CustomProperties
		{
			get { return _customProperties;}
		}

		/// <summary>The custom properties for the type of this TypedList instance.</summary>
		/// <remarks>The data returned from this property should be considered read-only: it is not thread safe to alter this data at runtime.</remarks>
		[System.ComponentModel.Browsable(false)]
		public virtual Hashtable CustomPropertiesOfType
		{
			get { return DepositItemsTypedList.CustomProperties;}
		}

		/// <summary>The custom properties for the fields of this TypedList type. The returned Hashtable contains per fieldname a hashtable of name-value pairs. </summary>
		/// <remarks>The data returned from this property should be considered read-only: it is not thread safe to alter this data at runtime.</remarks>
		public static Hashtable FieldsCustomProperties
		{
			get { return _fieldsCustomProperties;}
		}

		/// <summary>The custom properties for the fields of the type of this TypedList instance. The returned Hashtable contains per fieldname a hashtable of name-value pairs. </summary>
		/// <remarks>The data returned from this property should be considered read-only: it is not thread safe to alter this data at runtime.</remarks>
		[System.ComponentModel.Browsable(false)]
		public virtual Hashtable FieldsCustomPropertiesOfType
		{
			get { return DepositItemsTypedList.FieldsCustomProperties;}
		}


		/// <summary>Returns the column object belonging to the TypedList field TransactionItemId</summary>
		internal DataColumn TransactionItemIdColumn 
		{
			get { return _columnTransactionItemId; }
		}

		/// <summary>Returns the column object belonging to the TypedList field ItemId</summary>
		internal DataColumn ItemIdColumn 
		{
			get { return _columnItemId; }
		}

		/// <summary>Returns the column object belonging to the TypedList field Quantity</summary>
		internal DataColumn QuantityColumn 
		{
			get { return _columnQuantity; }
		}

		/// <summary>Returns the column object belonging to the TypedList field ShelfId</summary>
		internal DataColumn ShelfIdColumn 
		{
			get { return _columnShelfId; }
		}

		/// <summary>Returns the column object belonging to the TypedList field StoreId</summary>
		internal DataColumn StoreIdColumn 
		{
			get { return _columnStoreId; }
		}

		/// <summary>Returns the column object belonging to the TypedList field TransactionId</summary>
		internal DataColumn TransactionIdColumn 
		{
			get { return _columnTransactionId; }
		}

		/// <summary>Returns the column object belonging to the TypedList field StoreCode</summary>
		internal DataColumn StoreCodeColumn 
		{
			get { return _columnStoreCode; }
		}

		/// <summary>Returns the column object belonging to the TypedList field StoreName</summary>
		internal DataColumn StoreNameColumn 
		{
			get { return _columnStoreName; }
		}

		/// <summary>Returns the column object belonging to the TypedList field ShelfCode</summary>
		internal DataColumn ShelfCodeColumn 
		{
			get { return _columnShelfCode; }
		}

		/// <summary>Returns the column object belonging to the TypedList field ItemName</summary>
		internal DataColumn ItemNameColumn 
		{
			get { return _columnItemName; }
		}

		/// <summary>Returns the column object belonging to the TypedList field ItemCode</summary>
		internal DataColumn ItemCodeColumn 
		{
			get { return _columnItemCode; }
		}

		/// <summary>Returns the column object belonging to the TypedList field ItemUnit</summary>
		internal DataColumn ItemUnitColumn 
		{
			get { return _columnItemUnit; }
		}

		// __LLBLGENPRO_USER_CODE_REGION_START AdditionalColumnProperties
		// __LLBLGENPRO_USER_CODE_REGION_END
 		#endregion

		#region Custom TypedList code
		
		// __LLBLGENPRO_USER_CODE_REGION_START CustomTypedListCode
		// __LLBLGENPRO_USER_CODE_REGION_END
		#endregion

		#region Included Code

		#endregion
	}

	/// <summary>Typed datarow for the typed datatable DepositItems</summary>
	public partial class DepositItemsRow : DataRow
		// __LLBLGENPRO_USER_CODE_REGION_START AdditionalInterfacesRow
		// __LLBLGENPRO_USER_CODE_REGION_END	
	{
		#region Class Member Declarations
		private DepositItemsTypedList	_parent;
		#endregion

		/// <summary>CTor</summary>
		/// <param name="rowBuilder">Row builder object to use when building this row</param>
		protected internal DepositItemsRow(DataRowBuilder rowBuilder) : base(rowBuilder) 
		{
			_parent = ((DepositItemsTypedList)(this.Table));
		}

		#region Class Property Declarations
		/// <summary>Gets / sets the value of the TypedList field TransactionItemId<br/><br/></summary>
		/// <remarks>Mapped on: TransactionItem.Id</remarks>
		public System.Int32 TransactionItemId 
		{
			get { return IsTransactionItemIdNull() ? (System.Int32)TypeDefaultValue.GetDefaultValue(typeof(System.Int32)) : (System.Int32)this[_parent.TransactionItemIdColumn]; }
			set { this[_parent.TransactionItemIdColumn] = value; }
		}

		/// <summary>Returns true if the TypedList field TransactionItemId is NULL, false otherwise.</summary>
		public bool IsTransactionItemIdNull() 
		{
			return IsNull(_parent.TransactionItemIdColumn);
		}

		/// <summary>Sets the TypedList field TransactionItemId to NULL. Not recommended; a typed list should be used as a readonly object.</summary>
    	public void SetTransactionItemIdNull() 
		{
			this[_parent.TransactionItemIdColumn] = System.Convert.DBNull;
		}
		/// <summary>Gets / sets the value of the TypedList field ItemId<br/><br/></summary>
		/// <remarks>Mapped on: TransactionItem.ItemId</remarks>
		public System.Int32 ItemId 
		{
			get { return IsItemIdNull() ? (System.Int32)TypeDefaultValue.GetDefaultValue(typeof(System.Int32)) : (System.Int32)this[_parent.ItemIdColumn]; }
			set { this[_parent.ItemIdColumn] = value; }
		}

		/// <summary>Returns true if the TypedList field ItemId is NULL, false otherwise.</summary>
		public bool IsItemIdNull() 
		{
			return IsNull(_parent.ItemIdColumn);
		}

		/// <summary>Sets the TypedList field ItemId to NULL. Not recommended; a typed list should be used as a readonly object.</summary>
    	public void SetItemIdNull() 
		{
			this[_parent.ItemIdColumn] = System.Convert.DBNull;
		}
		/// <summary>Gets / sets the value of the TypedList field Quantity<br/><br/></summary>
		/// <remarks>Mapped on: TransactionItem.Quantity</remarks>
		public System.Decimal Quantity 
		{
			get { return IsQuantityNull() ? (System.Decimal)TypeDefaultValue.GetDefaultValue(typeof(System.Decimal)) : (System.Decimal)this[_parent.QuantityColumn]; }
			set { this[_parent.QuantityColumn] = value; }
		}

		/// <summary>Returns true if the TypedList field Quantity is NULL, false otherwise.</summary>
		public bool IsQuantityNull() 
		{
			return IsNull(_parent.QuantityColumn);
		}

		/// <summary>Sets the TypedList field Quantity to NULL. Not recommended; a typed list should be used as a readonly object.</summary>
    	public void SetQuantityNull() 
		{
			this[_parent.QuantityColumn] = System.Convert.DBNull;
		}
		/// <summary>Gets / sets the value of the TypedList field ShelfId<br/><br/></summary>
		/// <remarks>Mapped on: TransactionItem.ShelfId</remarks>
		public System.Int32 ShelfId 
		{
			get { return IsShelfIdNull() ? (System.Int32)TypeDefaultValue.GetDefaultValue(typeof(System.Int32)) : (System.Int32)this[_parent.ShelfIdColumn]; }
			set { this[_parent.ShelfIdColumn] = value; }
		}

		/// <summary>Returns true if the TypedList field ShelfId is NULL, false otherwise.</summary>
		public bool IsShelfIdNull() 
		{
			return IsNull(_parent.ShelfIdColumn);
		}

		/// <summary>Sets the TypedList field ShelfId to NULL. Not recommended; a typed list should be used as a readonly object.</summary>
    	public void SetShelfIdNull() 
		{
			this[_parent.ShelfIdColumn] = System.Convert.DBNull;
		}
		/// <summary>Gets / sets the value of the TypedList field StoreId<br/><br/></summary>
		/// <remarks>Mapped on: TransactionItem.StoreId</remarks>
		public System.Int32 StoreId 
		{
			get { return IsStoreIdNull() ? (System.Int32)TypeDefaultValue.GetDefaultValue(typeof(System.Int32)) : (System.Int32)this[_parent.StoreIdColumn]; }
			set { this[_parent.StoreIdColumn] = value; }
		}

		/// <summary>Returns true if the TypedList field StoreId is NULL, false otherwise.</summary>
		public bool IsStoreIdNull() 
		{
			return IsNull(_parent.StoreIdColumn);
		}

		/// <summary>Sets the TypedList field StoreId to NULL. Not recommended; a typed list should be used as a readonly object.</summary>
    	public void SetStoreIdNull() 
		{
			this[_parent.StoreIdColumn] = System.Convert.DBNull;
		}
		/// <summary>Gets / sets the value of the TypedList field TransactionId<br/><br/></summary>
		/// <remarks>Mapped on: TransactionItem.TransactionId</remarks>
		public System.Int32 TransactionId 
		{
			get { return IsTransactionIdNull() ? (System.Int32)TypeDefaultValue.GetDefaultValue(typeof(System.Int32)) : (System.Int32)this[_parent.TransactionIdColumn]; }
			set { this[_parent.TransactionIdColumn] = value; }
		}

		/// <summary>Returns true if the TypedList field TransactionId is NULL, false otherwise.</summary>
		public bool IsTransactionIdNull() 
		{
			return IsNull(_parent.TransactionIdColumn);
		}

		/// <summary>Sets the TypedList field TransactionId to NULL. Not recommended; a typed list should be used as a readonly object.</summary>
    	public void SetTransactionIdNull() 
		{
			this[_parent.TransactionIdColumn] = System.Convert.DBNull;
		}
		/// <summary>Gets / sets the value of the TypedList field StoreCode<br/><br/></summary>
		/// <remarks>Mapped on: Store.Code</remarks>
		public System.String StoreCode 
		{
			get { return IsStoreCodeNull() ? (System.String)TypeDefaultValue.GetDefaultValue(typeof(System.String)) : (System.String)this[_parent.StoreCodeColumn]; }
			set { this[_parent.StoreCodeColumn] = value; }
		}

		/// <summary>Returns true if the TypedList field StoreCode is NULL, false otherwise.</summary>
		public bool IsStoreCodeNull() 
		{
			return IsNull(_parent.StoreCodeColumn);
		}

		/// <summary>Sets the TypedList field StoreCode to NULL. Not recommended; a typed list should be used as a readonly object.</summary>
    	public void SetStoreCodeNull() 
		{
			this[_parent.StoreCodeColumn] = System.Convert.DBNull;
		}
		/// <summary>Gets / sets the value of the TypedList field StoreName<br/><br/></summary>
		/// <remarks>Mapped on: Store.Name</remarks>
		public System.String StoreName 
		{
			get { return IsStoreNameNull() ? (System.String)TypeDefaultValue.GetDefaultValue(typeof(System.String)) : (System.String)this[_parent.StoreNameColumn]; }
			set { this[_parent.StoreNameColumn] = value; }
		}

		/// <summary>Returns true if the TypedList field StoreName is NULL, false otherwise.</summary>
		public bool IsStoreNameNull() 
		{
			return IsNull(_parent.StoreNameColumn);
		}

		/// <summary>Sets the TypedList field StoreName to NULL. Not recommended; a typed list should be used as a readonly object.</summary>
    	public void SetStoreNameNull() 
		{
			this[_parent.StoreNameColumn] = System.Convert.DBNull;
		}
		/// <summary>Gets / sets the value of the TypedList field ShelfCode<br/><br/></summary>
		/// <remarks>Mapped on: Shelf.Code</remarks>
		public System.String ShelfCode 
		{
			get { return IsShelfCodeNull() ? (System.String)TypeDefaultValue.GetDefaultValue(typeof(System.String)) : (System.String)this[_parent.ShelfCodeColumn]; }
			set { this[_parent.ShelfCodeColumn] = value; }
		}

		/// <summary>Returns true if the TypedList field ShelfCode is NULL, false otherwise.</summary>
		public bool IsShelfCodeNull() 
		{
			return IsNull(_parent.ShelfCodeColumn);
		}

		/// <summary>Sets the TypedList field ShelfCode to NULL. Not recommended; a typed list should be used as a readonly object.</summary>
    	public void SetShelfCodeNull() 
		{
			this[_parent.ShelfCodeColumn] = System.Convert.DBNull;
		}
		/// <summary>Gets / sets the value of the TypedList field ItemName<br/><br/></summary>
		/// <remarks>Mapped on: Item.Name</remarks>
		public System.String ItemName 
		{
			get { return IsItemNameNull() ? (System.String)TypeDefaultValue.GetDefaultValue(typeof(System.String)) : (System.String)this[_parent.ItemNameColumn]; }
			set { this[_parent.ItemNameColumn] = value; }
		}

		/// <summary>Returns true if the TypedList field ItemName is NULL, false otherwise.</summary>
		public bool IsItemNameNull() 
		{
			return IsNull(_parent.ItemNameColumn);
		}

		/// <summary>Sets the TypedList field ItemName to NULL. Not recommended; a typed list should be used as a readonly object.</summary>
    	public void SetItemNameNull() 
		{
			this[_parent.ItemNameColumn] = System.Convert.DBNull;
		}
		/// <summary>Gets / sets the value of the TypedList field ItemCode<br/><br/></summary>
		/// <remarks>Mapped on: Item.Code</remarks>
		public System.String ItemCode 
		{
			get { return IsItemCodeNull() ? (System.String)TypeDefaultValue.GetDefaultValue(typeof(System.String)) : (System.String)this[_parent.ItemCodeColumn]; }
			set { this[_parent.ItemCodeColumn] = value; }
		}

		/// <summary>Returns true if the TypedList field ItemCode is NULL, false otherwise.</summary>
		public bool IsItemCodeNull() 
		{
			return IsNull(_parent.ItemCodeColumn);
		}

		/// <summary>Sets the TypedList field ItemCode to NULL. Not recommended; a typed list should be used as a readonly object.</summary>
    	public void SetItemCodeNull() 
		{
			this[_parent.ItemCodeColumn] = System.Convert.DBNull;
		}
		/// <summary>Gets / sets the value of the TypedList field ItemUnit<br/><br/></summary>
		/// <remarks>Mapped on: Unit.Name</remarks>
		public System.String ItemUnit 
		{
			get { return IsItemUnitNull() ? (System.String)TypeDefaultValue.GetDefaultValue(typeof(System.String)) : (System.String)this[_parent.ItemUnitColumn]; }
			set { this[_parent.ItemUnitColumn] = value; }
		}

		/// <summary>Returns true if the TypedList field ItemUnit is NULL, false otherwise.</summary>
		public bool IsItemUnitNull() 
		{
			return IsNull(_parent.ItemUnitColumn);
		}

		/// <summary>Sets the TypedList field ItemUnit to NULL. Not recommended; a typed list should be used as a readonly object.</summary>
    	public void SetItemUnitNull() 
		{
			this[_parent.ItemUnitColumn] = System.Convert.DBNull;
		}

		#endregion

		#region Custom Typed List Row Code
		
		// __LLBLGENPRO_USER_CODE_REGION_START CustomTypedListRowCode
		// __LLBLGENPRO_USER_CODE_REGION_END
		#endregion
		
		#region Included Row Code

		#endregion	
	}
}
